package org.lzy.shop.viewmodel.repository

import org.lzy.shop.response.CouponResponse
import org.lzy.shop.response.GoodsInfoResponse
import org.lzy.shop.response.GoodsSpecResponse

interface GoodsRepository {
    // 获取商品详情信息
    suspend fun getGoodsInfo(id: String): GoodsInfoResponse?

    // 获取商品规格信息
    suspend fun getGoodsSpec(id: Int): MutableList<GoodsSpecResponse>?

    // 获取优惠券数据
    suspend fun getCoupon(): CouponResponse?
}